<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<link href="${pageContext.request.contextPath}/layui/css/layui.css" type="text/css" rel="stylesheet">
<script src="${pageContext.request.contextPath}/js/jquery-1.12.4.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/layui/layui.js" type="text/javascript"></script>
<body>
<h2>Hello World!</h2>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
    <legend>常规使用：普通图片上传</legend>
</fieldset>
<div class="layui-upload">
    <button type="button" class="layui-btn" id="test1">上传图片</button>
    <div class="layui-upload-list"><img class="layui-upload-img" id="demo1">
        <p id="demoText"></p></div>
</div>
</body>
</html>
